<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Welcome to my World !</h1>
<h2>ccx's home</h2>
<!--<form th:action="@{/bb}" th:object="${user}" method="post" th:method="post">-->
<!--<input type="text" th:field="*{name}"/>-->
<!--<input type="text" th:field="*{msg}"/>-->
<!--<input type="submit"/>-->
<!--</form>-->

<!--<div class="form-group col-lg-6">-->
<!--<label >性别<span>&nbsp;Sex:</span></label>-->
<!--<select th:field="${user.sex}" class="form-control" th:switch="${user.sex.toString()}"-->
<!--data-required="true">-->
<!--<option value="男" th:case="'男'" th:selected="selected" >男</option>-->
<!--<option value="女" th:case="'女'" th:selected="selected" >女</option>-->
<!--<option value="">请选择</option>-->
<!--</select>-->
<!--</div>-->

<div class="container">
    <div class="row">
        <div class="col-md-4">
            <div class="panel panel-primary">
                <div class="panel-heading text-center">
                    <span class="panel-title">学生信息</span>
                </div>
                <div class="panel-body">
                    编号：<span th:text="${user.id}">2</span><br/>
                    姓名：<span th:text="${user.username}">萌萌哒</span><br/>
                    性别：<span th:text="${user.sex}">男</span><br/>
                </div>
                <div class="panel-footer text-right">
                    <span class="panel-title">酒城工作室@2107</span>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>